package com.zhengyisky.mapper;

import com.zhengyisky.pojo.TbTeacherRole;
import com.zhengyisky.pojo.TbTeacherRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbTeacherRoleMapper {
    int countByExample(TbTeacherRoleExample example);

    int deleteByExample(TbTeacherRoleExample example);

    int deleteByPrimaryKey(Integer trId);

    int insert(TbTeacherRole record);

    int insertSelective(TbTeacherRole record);

    List<TbTeacherRole> selectByExample(TbTeacherRoleExample example);

    TbTeacherRole selectByPrimaryKey(Integer trId);

    int updateByExampleSelective(@Param("record") TbTeacherRole record, @Param("example") TbTeacherRoleExample example);

    int updateByExample(@Param("record") TbTeacherRole record, @Param("example") TbTeacherRoleExample example);

    int updateByPrimaryKeySelective(TbTeacherRole record);

    int updateByPrimaryKey(TbTeacherRole record);
}